import * as types from './actionTypes';

export function setFetching(key,value){
    return {type:types.SET_FETCHING,key,value}
}
export function setDialog(key,value){
    return {type:types.SET_DIALOG,key,value}
}
export function setLoading(value = false){
    return {type:types.SET_LOADING,value}
}
export function setDeviceWidth(width){
    return {type:types.SET_DEVICE_WIDTH,width}
}